package com.ruoyi.common.utils;

import java.io.UnsupportedEncodingException;
import java.net.URLEncoder;

public class TestQaq {
    public static void main(String[] args) {
        String value = "asjbsa";
        try {
            value = URLEncoder.encode(value, "utf-8");
        } catch (UnsupportedEncodingException e) {
            e.printStackTrace();
        }
        System.out.println(value);
    }
}
